// 导入musql模块
const mysql = require('mysql')

// 创建数据库连接对象
const db = mysql.createPool({
   host:'10.66.28.11',
   user:'tibcoeai',
   password:'tibcoeai123',
   database:'tibcoeai'
})

// 向外暴露连接对象
module.exports = db